using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BagItemMeditor : PureMVC.Patterns.Mediator
{
    public new const string NAME = "BagItemMeditor";
    public BagItem View;
    public BagItemMeditor(object viewComponent) : base (NAME, viewComponent)
    {
        View = ((GameObject)ViewComponent).GetComponent<BagItem>();
        View.btn.onClick.AddListener(OnClickOpenBagTips);
    }

    private void OnClickOpenBagTips()
    {
        SendNotification(MsgID.SHOW_BAG_TIPS_PANEL);
    }
}
